<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="control" uri="/WEB-INF/control.tld" %>
<%@ taglib prefix="js" uri="/WEB-INF/javascript.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="m" uri="myfunction" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="./css/core.css">
	<link rel="stylesheet" type="text/css" href="./css/custom-theme/jquery-ui-1.7.3.custom.css" />
	<link rel="stylesheet" type="text/css" href="./css/jqueryFileTree.css">
	<link rel="stylesheet" type="text/css"  href="./css/jqgrid/ui.jqgrid.css" />
	<link rel="stylesheet" type="text/css" href="./css/functionMenu.css">
	
	<script type="text/javascript" src="./js/jquery.js"></script>
	<script type="text/javascript" src="./js/jqueryUi/ui/i18n/ui.datepicker-zh-CN.js"></script>
	<script type="text/javascript" src="./js/jqueryUi/jquery-ui-1.7.3.custom.min.js"></script>
	<script type="text/javascript" src="./js/util.js"></script>
	<script type="text/javascript" src="./js/jqgrid/i18n/grid.locale-cn.js" ></script>
	<script type="text/javascript" src="./js/jqgrid/jquery.jqGrid.min.js"></script>
	<script type="text/javascript" src="./js/jqueryFileTree.js"></script>
	<script type="text/javascript" src="./js/functionMenu.js"></script>
	<script type="text/javascript">
		<m:MethodFilter list="${list}"/>
	</script>

  </head>
  
  <body>
  <!--右边原来设置 id="content" class="ui-dialog-content ui-widget-content"  -->
  	<div id="menuList" style="width: 240px;overflow: auto;border: 1px solid #a6c9e2;">
  		
  	</div>
  	<div style="border: 1px solid #a6c9e2;width:510px;height: 130px;overflow: auto;margin-left:20px;margin-top:20px;">
  	<div class="ui-dialog-content ui-widget-content" id="contentPanel">
  		<ul>
  			<li><label>编码</label><input type="text" name="functionMenuID" id="functionMenuID" value="" readonly="readonly"></input></li>
  			<li><label>名称</label><input type="text" name="functionMenuName" id="functionMenuName" value="" readonly="readonly"></input></li>
  		</ul>
  	</div>
  	<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix" id="buttonPanel">
  		<div id="lookList"><button class="ui-state-default ui-corner-all" type="button" id="viewButton">查看明细</button></div>
  		<div id="addNode"><button class="ui-state-default ui-corner-all" type="button" id="addChildNodeButton">新增子结点</button></div>
  	</div>
  	</div>
    <div class="hidden">
		<table id="functionMenuList"></table>
		<div id="functionMenuPager"></div>
	</div>
	<div class="hidden">
		<div id="detailDialog">
			<ul>
				<li class="longLi"><label>功能编号</label><input type="text" name="menuID" id="menuID" value="" readonly="readonly" class="readonly"/></li>
				<li><label>功能名称</label><input type="text" name="menuName" id="menuName" value=""/><span class="required">*</span></li>
				<li><label>功能标签</label><input type="text" name="menuLabel" id="menuLabel" value=""/></li>
				<li class="longLi"><label>功能路径</label><input type="text" name="menuAction" id="menuAction" class="longInput" value=""/></li>
				<li><label>叶子结点</label><select name="isLeaf" id="isLeaf"><option value="Y">是</option><option value="N">否</option></select></li>
				<li><label>功能级别</label><input type="text" name="menuLevel" id="menuLevel" value="" readonly="readonly" class="readonly"/></li>
				<li><label>父结点编号</label><input type="text" name="parentID" id="parentID" value=""  readonly="readonly" class="readonly"/></li>
				<li>
					<label>显示顺序</label><input type="text" name="displayOrder" id="displayOrder" value=""/>
					<!-- 展现形式--><input type="hidden" name="menuView" id="menuView" value=""/>
					<!-- 根结点编号--><input type="hidden" name="rootID" id="rootID" value=""/>
					<!-- 初始值--><input type="hidden" name="inputValue" id="inputValue" value=""/>
					<!-- 初始标签--><input type="hidden" name="inputKey" id="inputKey" value=""/>
					<!-- 功能序列号--><input type="hidden" name="menuSeq" id="menuSeq" value=""/>
					<!-- 使用类型--><input type="hidden" name="useType" id="useType" value=""/>
				</li>
			</ul>
		</div>
	</div>
	<div class="hidden">
		<div id="detailDialog1">
			<ul>
				<li><label>功能编号</label><input readonly="readonly" type="text" name="menuID1" id="menuID1" value="" class="readonly"/></li>
				<li><label>创建日期</label><input readonly="readonly" type="text" id="creatDate" class="readonly"/></li>
				<li><label>创建人员</label><input readonly="readonly" type="text" name="creater" id="creater" value="" class="readonly"/></li>
				<li><label>最近修改日期</label><input readonly="readonly" type="text" id="newDate" class="readonly"/></li>
				<li><label>功能描述</label><textarea style="margin-left: 27%" rows="5" cols="80" id="describe"></textarea></li>
            </ul>
            <form action="functionMenuAction.do?type=upLoad" target="noflush" method="post" enctype="multipart/form-data">
				<ul><li class="longLi"><label>功能需求文档</label><input  type="file" name="demand" id="demand"  value=""/>&nbsp;<input type="submit" value="上传"><a id="demandName" target="noflush" title="点击下载"></a></li></ul>
		    </form>
			<form action="functionMenuAction.do?type=upLoad" target="noflush" method="post" enctype="multipart/form-data">
				<ul><li class="longLi"><label>详细设计文档</label><input type="file" name="detial" id="detial" value="" />&nbsp;<input type="submit" value="上传"><a id="detialName"  target="noflush" title="点击下载"></a></li></ul>
			</form>
			<form action="functionMenuAction.do?type=upLoad" target="noflush" method="post" enctype="multipart/form-data">
				<ul><li class="longLi"><label>测试用例文档</label><input type="file"  name="test" id="test" value="" />&nbsp;<input type="submit" value="上传"><a id="testName"  target="noflush" title="点击下载"></a></li></ul>
			</form>
			<form action="functionMenuAction.do?type=upLoad" target="noflush" method="post" enctype="multipart/form-data">
				<ul><li class="longLi"><label>帮助视频</label><input type="file"  name="movie" id="movie" value="" />&nbsp;<input type="submit" value="上传"></li></ul>
			</form>
		</div>
	</div>
    <iframe name="noflush" id="noflush" style="display:hidden;visibility: hidden;" mce_style="display:none">
	</iframe>
    <div class="hidden">
      <input type="text" id="hiddenOperatorName" name="hiddenOperatorName" value="<c:out value="${operator.opName}"/>">
      <input type="text" id="hiddenCurrentDate" name="hiddenCurrentDate" value="<c:out value="${currentDate}"/>">
    </div>
  </body>
</html>
